import request from "@/utils/request.js";

const api_prefix = "/store/comment";

export function findStoreComment(pageNo, pageSize, param) {
  return request({
    //模板字符串拼接参数
    url: `${api_prefix}/backend/list/${pageNo}/${pageSize}`,
    method: "GET",
    params: param,
  });
}

export function deleteStoreComment(id) {
  return request({
    //模板字符串拼接参数
    url: `${api_prefix}/backend/remove/${id}`,
    method: "DELETE",
  });
}